const MyPromise = require("./MyPromise");

class MyPromise {
  static resolve(val) {
    if (val instanceof MyPromise) return val;
    return new MyPromise((resolve) => resolve(val));
  }
}
